Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-48117: don't use LocalPhotoCalib and LocalWcs in CalibrateImageTask. #1017

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

TallJimbo
Copy link
Member

No description provided.

parejkoj and others added 3 commits December 16, 2024 09:48
CalibrateImageTask writes calibrated flux fields, so we don't need to
do the LocalNanojanksy functor any more.
- slot_CalibFlux_instFluxErr
- base_LocalPhotoCalib
- base_LocalPhotoCalibErr
- slot_CalibFlux_flux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were the *Err entries never supposed to be here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They were supposed to be there and are still there in the outputs (a few lines down, in this case), but the diff obfuscates that a bit. I'm not sure why the LocalNanoJansky functor required flux and calibration errors to compute the fluxes, but I think that's out of scope.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, yeah, I was just asking if the Err fields were actually required for the LocalNanoJansky functor. Looks to me like they aren't: https://github.com/lsst/pipe_tasks/blob/main/python/lsst/pipe/tasks/functors.py#L1751-L1766
(I get that those fields in general are getting added below).

@TallJimbo TallJimbo merged commit fdc7815 into main Dec 18, 2024
2 checks passed
@TallJimbo TallJimbo deleted the tickets/DM-48117 branch December 18, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants